import request from '@/utils/request'

// 分页查询价格列表信息
export function customerPriceList(data) {
  return request({
    url: '/system/customer/price/list',
    method: 'post',
    data,
  })
}
//  更新客户价格信息
export function editCustomerPrice(data) {
  return request({
    url: ' /system/customer/price',
    method: 'put',
    data,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    },
  })
}
//  删除客户价格信息
export function deleteCustomerPrice(data) {
  return request({
    url: '/system/customer/price',
    method: 'post',
    data,
  })
}
//  客户关联价格表
export function uploadPriceFile(data) {
  return request({
    url: '/system/customer/batch_price',
    method: 'put',
    data,
  })
}
//  客户关联价格表
export function updateStatus(data) {
  return request({
    url: '/system/customerPrice/updateStatus',
    method: 'put',
    data,
  })
}
